import { axios } from '@/utils/request'


/** 获取所有考试 （也可按条件查询）Vo查询 */
export function getAchExaminationList(achExamination) {
  return axios({
    url: '/achexamination/achExamination/getAchExaminationList',
    method: 'get',
    params: achExamination,
  })
}
/** 获取所有考试数据 */
export function getAchExaminationAll() {
  return axios({
    url: '/achexamination/achExamination/list',
    method: 'get'
  })
}

/** 获取所有科目**/
export function getSubjectList() {
  return axios({
    url: '/subject/couSubject/list',
    method: 'get',
  })
}

/** 获取所有试卷 */
export function getAllAchExaminationPaper(subjectId) {
  return axios({
    url: '/achexaminationpaper/achExaminationPaper/list?subjectId='+subjectId,
    method: 'get',
  })
}
/** 获取所有试卷 */
export function getAllAchExaminationPaperList() {
  return axios({
    url: '/achexaminationpaper/achExaminationPaper/list',
    method: 'get',
  })
}

/** 获取全部成绩评分标准数据 */
export function getAchAchievStandardList() {
  return axios({
    url: '/achachievementstandard/achAchievementStandard/list',
    method: 'get',
  })
}

/** 根据试卷id 获取分项数据 */
export function getAchExamPaperProjectItem(params) {
  return axios({
    url: '/achexampaperprojectitem/achExamPaperProjectItem/paperProjectItemList',
    method: 'get',
    params: params
  })
}
/** 根据试卷id 获取分项数据 Vo查询 附带关联字段名称 */
export function getAchExamProjectItemByPaperId(params) {
  return axios({
    url: '/achexampaperprojectitem/achExamPaperProjectItem/getAchExamProjectItemByPaperId',
    method: 'get',
    params: params
  })
}

/** 根据试卷id 获取分项评分标准 Vo查询 附带评分标准 */
export function getAchExamProjectItemStandard(params) {
  return axios({
    url: '/achexampaperprojectitem/achExamPaperProjectItem/getAchExamProjectItemStandard',
    method: 'get',
    params: params
  })
}

/** 获取分项成绩数据（根据学生及试卷） */
export function getAchAchieveSubjProjItemList(params) {
  return axios({
    url: '/achachievesubjprojitem/achAchievementSubjProjItem/getAchAchieveSubjProjItemList',
    method: 'get',
    params: params
  })
}





